package com.gaff.emp.core.modules.perm.service;

import com.gaff.emp.core.modules.perm.controller.dept.form.CreateForm;
import com.gaff.emp.core.modules.perm.controller.dept.form.UpdateForm;
import com.gaff.emp.core.modules.perm.entity.SysDept;

import java.util.List;


public interface SysDeptService {

    List<SysDept> queryAllDepts();

    SysDept queryDeptById(Integer id);

    void createDept(CreateForm form);

    void updateDept(UpdateForm form);

    void deleteById(Integer id);

}
